package com.qtu.order_service.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: Liu Zhong Sen
 * @Date: 2020/7/13 10:31
 */
public class Order {



    private Integer id;


    private String orderId;

    private Integer goodsId;


    private Integer spId;


    private String sname;

    private String goodsName;

    private String goodsImg;


    private Integer buyNum;

    private BigDecimal price;




    private Integer sellerId;

    private BigDecimal deliveryFee;


    private BigDecimal amount;


    private Integer payType;

    private Integer orderStep;


    private String deliveryAddId;

    private Date createTime;

    private Date payTime;


    private Integer orderState;


    private String orderStepRecord;

    private Integer warehouserId;

    private Integer logisticsId;


    private String mark;



    private String BusinessName;



    private String address;


    private String backImg;

    private String mapCode;


    private Integer state;


    private Integer workState;

    private String tel;


    private String password;


    private String trueName;


    private String shopType;


    private String token;




    private Date addTime;

    private String positionId;

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    private Integer isDeleted;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getSpId() {
        return spId;
    }

    public void setSpId(Integer spId) {
        this.spId = spId;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public BigDecimal getDeliveryFee() {
        return deliveryFee;
    }

    public void setDeliveryFee(BigDecimal deliveryFee) {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getOrderStep() {
        return orderStep;
    }

    public void setOrderStep(Integer orderStep) {
        this.orderStep = orderStep;
    }

    public String getDeliveryAddId() {
        return deliveryAddId;
    }

    public void setDeliveryAddId(String deliveryAddId) {
        this.deliveryAddId = deliveryAddId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public String getOrderStepRecord() {
        return orderStepRecord;
    }

    public void setOrderStepRecord(String orderStepRecord) {
        this.orderStepRecord = orderStepRecord;
    }

    public Integer getWarehouserId() {
        return warehouserId;
    }

    public void setWarehouserId(Integer warehouserId) {
        this.warehouserId = warehouserId;
    }

    public Integer getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(Integer logisticsId) {
        this.logisticsId = logisticsId;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getBusinessName() {
        return BusinessName;
    }

    public void setBusinessName(String businessName) {
        BusinessName = businessName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBackImg() {
        return backImg;
    }

    public void setBackImg(String backImg) {
        this.backImg = backImg;
    }

    public String getMapCode() {
        return mapCode;
    }

    public void setMapCode(String mapCode) {
        this.mapCode = mapCode;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getWorkState() {
        return workState;
    }

    public void setWorkState(Integer workState) {
        this.workState = workState;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getShopType() {
        return shopType;
    }

    public void setShopType(String shopType) {
        this.shopType = shopType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderId='" + orderId + '\'' +
                ", goodsId=" + goodsId +
                ", spId=" + spId +
                ", sname='" + sname + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsImg='" + goodsImg + '\'' +
                ", buyNum=" + buyNum +
                ", price=" + price +
                ", sellerId=" + sellerId +
                ", deliveryFee=" + deliveryFee +
                ", amount=" + amount +
                ", payType=" + payType +
                ", orderStep=" + orderStep +
                ", deliveryAddId='" + deliveryAddId + '\'' +
                ", createTime=" + createTime +
                ", payTime=" + payTime +
                ", orderState=" + orderState +
                ", orderStepRecord='" + orderStepRecord + '\'' +
                ", warehouserId=" + warehouserId +
                ", logisticsId=" + logisticsId +
                ", mark='" + mark + '\'' +
                ", BusinessName='" + BusinessName + '\'' +
                ", address='" + address + '\'' +
                ", backImg='" + backImg + '\'' +
                ", mapCode='" + mapCode + '\'' +
                ", state=" + state +
                ", workState=" + workState +
                ", tel='" + tel + '\'' +
                ", password='" + password + '\'' +
                ", trueName='" + trueName + '\'' +
                ", shopType='" + shopType + '\'' +
                ", token='" + token + '\'' +
                ", addTime=" + addTime +
                ", positionId='" + positionId + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
